<script setup>
const handleRegister = () => {
  // 跳转到注册页面 https://www.gghyxui.com/zh-hans/join?channelId=2198730

  window.open('https://www.gghyxui.com/zh-hans/join?channelId=48006780', '_blank')
}
</script>

<template>
  <div class="register-card">
    <h2 class="card-title">欧易数字货币交易所</h2>
    
    <div class="features">
      <div class="feature-item">
        <span class="feature-icon">⚡</span>
        <div class="feature-text">
          <strong>功能强大</strong>
          <span class="feature-sub">快速高效</span>
        </div>
      </div>
      
      <div class="feature-item">
        <span class="feature-icon">💰</span>
        <div class="feature-text">
          <strong>手续费低</strong>
          <span class="feature-sub">一键下载</span>
        </div>
      </div>
    </div>
    
    <p class="card-description">
      支持苹果、安卓手机，随时随地交易您的数字货币
    </p>
    
    <button class="register-btn" @click="handleRegister">
      点击立即体验
    </button>
  </div>
</template>

<style scoped>
.register-card {
  background: linear-gradient(135deg, #1a1d29 0%, #2d3142 100%);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 420px;
  width: 100%;
}

.card-title {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 32px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-text strong {
  color: #c6ff00;
  font-size: 18px;
  font-weight: 700;
}

.feature-sub {
  color: #00d4aa;
  font-size: 14px;
}

.card-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
  text-align: center;
}

.register-btn {
  width: 100%;
  background: linear-gradient(135deg, #c6ff00 0%, #00d4aa 100%);
  color: #1a1d29;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(198, 255, 0, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(198, 255, 0, 0.4);
}

.register-btn:active {
  transform: translateY(0);
}

@media (max-width: 968px) {
  .register-card {
    max-width: 100%;
  }
}
</style>
